
from flask_restful import fields
tag_fields = {
    'id':fields.Integer,
    'tag_name':fields.String,
    'sequence':fields.Integer,
}
chapter_fields = {
    'id': fields.Integer,
    'title': fields.String,
    'serial_num': fields.Integer,
    'course_type': fields.Integer
}
# SectionsModel
section_fields = {
    'id':fields.Integer,
    'section_title':fields.String,
    'chapter':fields.Integer,
    'serial_num':fields.Integer,
    'learn_time':fields.String,
    'video_url':fields.String,
    'like_count':fields.Integer
}
comment_fields = {
    "id": fields.Integer,
    "user_id":fields.Integer,
    'course_id':fields.Integer,
    'create_time': fields.DateTime,
    'content':fields.String,
    'like_count': fields.Integer,
    'parent_id':fields.Integer,
    'reply_count':fields.Integer,
    "collect":fields.Integer,
}